package com.gmcc.docmanager.control;

import com.gmcc.docmanager.loader.Response;

public class RandomResponse extends Response {

	private String random;

	public RandomResponse() {

	}

	public RandomResponse(Response response) {
		setCode(response.getCode());
		setDescription(response.getDescription());
		if (response.getResponseObject() != null
				&& response.getResponseObject() instanceof String) {
			setRandom((String) response.getResponseObject());
		}
	}

	public String getRandom() {
		return random;
	}

	public void setRandom(String random) {
		this.random = random;
	}

}
